package com.activitycode.datamodel.model;

import org.json.*;


public class ListInfo {
	
    private String petId;
    private String imagePath;
    private String time;
    private String imageWidth;
    private String imageHeight;
    private String userId;
    private String userImagePath;
    
    
	public ListInfo () {
		
	}	
        
    public ListInfo (JSONObject json) {
    
        this.petId = json.optString("pet_id");
        this.imagePath = json.optString("image_path");
        this.time = json.optString("time");
        this.imageWidth = json.optString("image_width");
        this.imageHeight = json.optString("image_height");
        this.userId = json.optString("user_id");
        this.userImagePath = json.optString("user_image_path");

    }
    
    public String getPetId() {
        return this.petId;
    }

    public void setPetId(String petId) {
        this.petId = petId;
    }

    public String getImagePath() {
        return this.imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getTime() {
        return this.time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getImageWidth() {
        return this.imageWidth;
    }

    public void setImageWidth(String imageWidth) {
        this.imageWidth = imageWidth;
    }

    public String getImageHeight() {
        return this.imageHeight;
    }

    public void setImageHeight(String imageHeight) {
        this.imageHeight = imageHeight;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserImagePath() {
        return this.userImagePath;
    }

    public void setUserImagePath(String userImagePath) {
        this.userImagePath = userImagePath;
    }


    
}
